package com.bestsoft.flow.domain;

import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * erp商品资料对象 flow_goods_doc
 * 
 * @author yuanna
 * @date 2023-09-05
 */
public class FlowGoodsDoc2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private String goodsid;

    /** 企业ID */
    private String entid;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodscode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsname;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String goodsspec;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 商品产地 */
    @Excel(name = "商品产地")
    private String place;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 图片附件 */
    @Excel(name = "图片附件")
    private String piclink;

    public void setGoodscode(String goodscode)
    {
        this.goodscode = goodscode;
    }

    public String getGoodscode() 
    {
        return goodscode;
    }
    public void setGoodsname(String goodsname) 
    {
        this.goodsname = goodsname;
    }

    public String getGoodsname() 
    {
        return goodsname;
    }
    public void setGoodsspec(String goodsspec) 
    {
        this.goodsspec = goodsspec;
    }

    public String getGoodsspec() 
    {
        return goodsspec;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setPiclink(String piclink) 
    {
        this.piclink = piclink;
    }

    public String getPiclink() 
    {
        return piclink;
    }

    public String getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(String goodsid) {
        this.goodsid = goodsid;
    }

    public String getEntid() {
        return entid;
    }

    public void setEntid(String entid) {
        this.entid = entid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsid", getGoodsid())
            .append("entid", getEntid())
            .append("goodscode", getGoodscode())
            .append("goodsname", getGoodsname())
            .append("goodsspec", getGoodsspec())
            .append("manufacturer", getManufacturer())
            .append("place", getPlace())
            .append("unit", getUnit())
            .append("remark", getRemark())
            .append("piclink", getPiclink())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
